<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!-- Installation des Produkts -->

<br></br>
<c:out value="${installation}"></c:out>
<br></br>
<form action="doInstall.htm" method="post">Datenbanktyp : <select
	name="dbtypes">
	<option value="mysql">MySql</option>
	<option value="mssql">MSSQL</option>
</select><br></br>
Design : <select name="design">
	<option value="mekos">Mekos</option>
	<option value="ds">DS</option>
</select><br></br>
<table>
	<tr>
		<td>Hostname :</td>
		<td><input type="text" name="host" value="${host}"></input></td>
	</tr>
	<tr>
		<td>IP :</td>
		<td><input type="text" name="ip" value="${ip}"></input></td>
	</tr>
	<tr>
		<td>Port :</td>
		<td><input type="text" name="port" value="${port}"></input></td>
	</tr>
	<tr></tr>
	<tr>
		<td>Datenbankzugriff</td>
		<td></td>
	</tr>
	<tr>
		<td>Datenbankname :</td>
		<td><input type="text" name="dbname" value="${dbname}"></input></td>
	</tr>
	<tr>
		<td>Username :</td>
		<td><input type="text" name="username" value="${username}"></input></td>
	</tr>
	<tr>
		<td>Passwort :</td>
		<td><input type="password" name="password"></input></td>
	</tr>
</table>
<br></br>
<c:forEach items="${errors}" var="error">
	<c:out value="${error}"></c:out>
	<br>
</c:forEach> <br></br>
<input type="submit" value="einrichten"></input></form>
<br></br>
<c:if test="${dbexists == true}">
	<form action="organizeDatabase.htm" method="post">Es gibt
	bereits eine Datenbank mit dem Namen <c:out value="${dbname}"></c:out>.
	Sollen die Tabellen reorganisiert werden? <br>
	<input type="submit" value="ok"></input></form>
</c:if>
<c:if test="${installed =='1'}">
	<a href="index.htm">zum Index</a>
</c:if>
